package utils;

public class HtmlUtils {

	/**
	 * Emphasize text
	 * @param text
	 * @return
	 */
	public static String em (String text){
		return "<em>"+text+"</em>";
	}

	/**
	 * Superscript text
	 * @param text
	 * @return
	 */
	public static String sup (String text){
		return "<sup>"+text+"</sup>";
	}
	
	/**
	 * Subscript text
	 * @param text
	 * @return
	 */
	public static String sub (String text){
		return "<sub>"+text+"</sub>";
	}
	/**
	 * Italic text
	 * @param text
	 * @return
	 */
	public static String i (String text){
		return "<i>"+text+"</i>";
	}
	
	/**
	 * Bold text
	 * @param text
	 * @return
	 */
	public static String b (String text){
		return "<b>"+text+"</b>";
	}
	
	
	
	public static void main(String[] args) {
		System.out.println(em("tatia"));
		System.out.println(em("tatia")+sup("html")+sub("xyz"));
		System.out.println(em("tatia"+sup("html")+sub("xyz")));

	}

}
